package top.whysu.edevice.po.device;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 传感器信息上报记录表
 *
 * @author makejava
 * @since 2021-05-25 18:14:57
 */
public class RecordSensorPO implements Serializable {
    private static final long serialVersionUID = 472136811860624821L;
    /**
    * 主键
    */
    private BigDecimal id;
    /**
    * 传感器类别（数据字典dataType=4）
    */
    private Integer sensorType;
    /**
    * 设备序列号，对应e_archives_device的device_serial字段
    */
    private String deviceSerial;
    /**
    * 设备名称（可能未在平台登记）
    */
    private String deviceName;
    /**
    * 传感器数据
    */
    private String sensorData;
    /**
    * 创建时间.数据库存储时间格式YYYY:mm:dd hh:mm:ss
    */
    private Date createTime;
    /**
    * 更新时间.数据库存储时间格式YYYY:mm:dd hh:mm:ss
    */
    private Date updateTime;

    public BigDecimal getId() {
        return id;
    }

    public void setId(BigDecimal id) {
        this.id = id;
    }

    public Integer getSensorType() {
        return sensorType;
    }

    public void setSensorType(Integer sensorType) {
        this.sensorType = sensorType;
    }

    public String getDeviceSerial() {
        return deviceSerial;
    }

    public void setDeviceSerial(String deviceSerial) {
        this.deviceSerial = deviceSerial;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getSensorData() {
        return sensorData;
    }

    public void setSensorData(String sensorData) {
        this.sensorData = sensorData;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}